Property type represents a property type for the property system. More...
#include <kanzi/core/property/property_type.hpp>
Public Types | |
| typedef Type | DataType |
| typedef PropertyTypeDescriptor< Type > | Descriptor |
| typedef PropertyTypeDescriptor< Type >::Traits | Traits |
Public Member Functions | |
| PropertyType (FixedString name) | |
| PropertyType (MetadataGeneratedName name) | |
| PropertyType (FixedString name, DataType defaultValue, uint32_t changeFlags, bool inheritable) | |
| PropertyType (MetadataGeneratedName name, DataType defaultValue, uint32_t changeFlags, bool inheritable) | |
| PropertyType (FixedString name, DataType defaultValue, uint32_t changeFlags, bool inheritable, PropertyTypeEditorInfo *editorInfo) | |
| PropertyType (MetadataGeneratedName name, DataType defaultValue, uint32_t changeFlags, bool inheritable, PropertyTypeEditorInfo *editorInfo) | |
| ~PropertyType () | |
| operator AbstractPropertyType () const | |
| Traits::ReturnType | getDefaultValue () const |
| Returns the default value for the property type. More... | |
| const char * | getName () const |
| Returns the fully qualified name of the property type in form "Class.PropertyType". More... | |
| const char * | getUnqualifiedName () const |
| Returns the unqualified name of the property type in form "PropertyType", where the qualified name is "Class.PropertyType". More... | |
| PropertyDataType | getDataType () const |
| Returns the data type of the property type. More... | |
| bool | isInherited () const |
| Returns true if the property type is inheritable, false otherwise. More... | |
| uint32_t | getChangeFlags () const |
| Returns the change flags of the property type. More... | |
| PropertyTypeEditorInfoSharedPtr | getEditorInfo () const |
| Returns the editor information of the property type. More... | |
| Descriptor * | get () const |
Protected Member Functions | |
| PropertyType () | |
Friends | |
| class | Object |
| class | Node |
| class | AbstractPropertyType |
| class | DynamicPropertyType< Type > |
Property type represents a property type for the property system.
You can use PropertyType class to define a property type. Instances of PropertyType uniquely identify property types in functions that operate on properties.
| typedef Type kanzi::PropertyType< Type, typename >::DataType |
| typedef PropertyTypeDescriptor<Type> kanzi::PropertyType< Type, typename >::Descriptor |
| typedef PropertyTypeDescriptor<Type>::Traits kanzi::PropertyType< Type, typename >::Traits |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inlineexplicitprotected |
|
inline |
|
inline |
Returns the default value for the property type.
The default value is returned by getProperty functions when no other value is available.
|
inline |
Returns the fully qualified name of the property type in form "Class.PropertyType".
|
inline |
Returns the unqualified name of the property type in form "PropertyType", where the qualified name is "Class.PropertyType".
|
inline |
Returns the data type of the property type.
The data type of the property type defines the data representation type of each property value, for example float.
|
inline |
Returns true if the property type is inheritable, false otherwise.
Inheritable property types provide values for all objects down the hierarchy.
|
inline |
Returns the change flags of the property type.
Change flags can indicate that particular aspect of an object should be invalidated when you modify a property, for example layout.
|
inline |
Returns the editor information of the property type.
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |